ScanDeviceManager Detach
Detach from the connected device. This command will not terminate any ongoing marking jobs.
public void Detach(string deviceUniqueName) |
Return value
void |
Parameters
string | deviceUniqueName | Unique name of the device |
Exceptions
DeviceNotFoundException | Throws when the device with the given name is not found |
DeviceFailureException | Throws when the device failed to disconnect due to unknown reason |
Example
Copy
scanDeviceManager.Detach(selectedDeviceUniqueName);